unittest
{
    switch (x)
    {
        version (none)
        {
            x();
    case Case:
            doSomething();
            doSomethingElse();
        }
    }
}
